package com.rentcars.service.impl;

import com.rentcars.entity.CarDevice;
import com.rentcars.mapper.CarDeviceMapper;
import com.rentcars.service.CarDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("CarDeviceService")
public class CarDeviceServiceImpl implements CarDeviceService {

    @Autowired
    private CarDeviceMapper carDeviceMapper;

    @Override
    public int deleteByPrimaryKey(String carid) {
        return 0;
    }

    @Override
    public int insert(CarDevice record) {
        return carDeviceMapper.insert(record);
    }

    @Override
    public int insertSelective(CarDevice record) {
        return carDeviceMapper.insertSelective(record);
    }

    @Override
    public CarDevice selectByPrimaryKey(String carid) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(CarDevice record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(CarDevice record) {
        return 0;
    }
}
